<?

function calc($n)
{
	return $n * -0.04 + 99;
}

for ($i = 50; $i <= 1000; $i += 20):
	$n = calc($i);
	echo "$i = $n\n";
endfor;
?>